package com.jiangli.service.Search;

import com.jiangli.entity.Dish;
import com.jiangli.entity.Merchant;
import com.jiangli.result.PageResult;

import java.util.List;
import java.util.Set;

public interface MerchantIndexService {
    Set<String> getMerchantIdsByKeyword(String keyword);
    List<String> getMerchantKeywords(Merchant merchant);
    void deleteMerchantIndex(Long dishId);
    void buildMerchantIndex(Merchant merchant);
    void initMerchantIndex();
}
